package com.cd.university.db.mapper;

import com.cd.university.db.pojo.UserImage;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserImageMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(UserImage record);

    int insertSelective(UserImage record);

    UserImage selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(UserImage record);

    int updateByPrimaryKey(UserImage record);

    /**
     * 插入用户的头像
     * @param userImage 用户头像实体类
     */
    public void insertUserImage(UserImage userImage);
}
